package com.yuandian.api.business_monitor.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.yuandian.annotation.AddSuffix;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author wangpeiyang
 * @Date 2021/5/25 16:26
 */
@Data
@HeadRowHeight(20)
public class SegmentOverviewVo implements Serializable{

    private static final long serialVersionUID = -1792639501254007447L;


    /**
     * 序号列
     */
    @ColumnWidth(20)
    private Integer number;
    /**
     * 网端id
     */
    @ExcelIgnore
    private Integer id;




    /**
     * 网端名称
     */
    @ColumnWidth(20)
    private String segmentName;

    /**
     * 请求总量
     */
    @ColumnWidth(20)
    private Integer reqCount;

    /**
     * 失败请求量
     */
    @ColumnWidth(20)
    private Integer failReqCount;

    /**
     * 告警请求量
     */
    @ColumnWidth(20)
    private Integer alarmReqCount;

    /**
     * 告警量
     */
    @ExcelIgnore
    private Integer alarmCount;

    /**
     * 健康度
     */
    @AddSuffix("%")
    @ColumnWidth(20)
    private String healthRate;

}
